#coding=utf-8
List=[1,2,3,4,5,6,7,8,9]
print(len(List))
for i in range(len(List)):
    List.insert(i,List.pop())
print(List)